           package com.java.diagnostics.visualizer.displayer.html;
           
           import com.java.diagnostics.visualizer.coredisplayers.CoreDisplayersPreferenceInitalizer;
           import com.java.diagnostics.visualizer.impl.preferences.GCAndMemoryVisualizerPreferenceInitializer;
           import com.java.diagnostics.visualizer.impl.preferences.SmartPreferences;
           import org.osgi.service.prefs.Preferences;
           
           public class HTMLReportPreferencesHelper
           {
             public static final String SHOW_STATS = HTMLReportPreferencesHelper.class + "show.stats";
             public static final String ONE_PLOT_ONLY = HTMLReportPreferencesHelper.class + "single.plot";
             private SmartPreferences preferences;
           
             public HTMLReportPreferencesHelper()
             {
               this.preferences = CoreDisplayersPreferenceInitalizer.getInstance().getPreferences();
             }
           
             public boolean getShowTupleStats()
             {
	         // deleted by wenguang.huang 
               //return this.preferences.getBoolean(SHOW_STATS);
	         return true;
             }
           
             public boolean getOnePlotOnly()
             {
               return this.preferences.getBoolean(ONE_PLOT_ONLY);
             }
           
             public static void initializeDefaults(Preferences preferences)
             {
               preferences.putBoolean(SHOW_STATS, true);
           
               preferences.putBoolean(ONE_PLOT_ONLY, false);
             }
           }

